<?php
//
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
if($_RQ['op']=='main'){
	$return['setting']=$this->plugin_setting('basic');
	$return['list']=array();
	set_html('title','核销台');
	$store=$this->model('verify')->checkuser($_SESSION['uid']);
	$member = pdo_get('core_members',array('uniacid'=>$_SESSION['uniacid'],'id'=>$_SESSION['uid']),array('nickname','avatar'));
	$store = false;
	if (!(empty($saler['storeid']))) 
	{
		$store=pdo_get('jy_merch_user',array('uniacid' => $_SESSION['uniacid'], 'id' => $saler['merchid']),array('id','merchname','logo'));
	}
	$return['saler']=$saler;
	$return['member']=$member;
	$return['store']=$store;
	exi($return);
}  

	
?>